package com.yitao.client.dto.product;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class ShoppingCartDto extends BaseDto {
	private static final long serialVersionUID = 1922560716878L;

	@ApiModelProperty("前端用于便于判断是否选中字段")
	private Boolean checked = false;

	/**
	 * shop_id	店铺id
	 */
	@ApiModelProperty("店铺id")
	private String shopId;

	/**
	 * product_id	商品id
	 *
	 */
	@ApiModelProperty("商品id")
	private String productId;

	/**
	 * imageUrl	商品图片
	 *
	 */
	@ApiModelProperty("商品图片")
	private String productImgUrl;

	/**
	 * product_name	商品名称
	 *
	 */
	@ApiModelProperty("商品名称")
	private String productName;


	//所选规格
	@ApiModelProperty("所选规格")
	private String skuId;

	@ApiModelProperty("售价")
	private Long salesPrice;

	/**
	 * 规格名称
	 */
	@ApiModelProperty("规格名称")
	private String attrSpecValue;

	//所选数量
	@ApiModelProperty("所选数量")
	private Integer selectCount;

	@ApiModelProperty("失效备注字段")
	private String memo;

	@ApiModelProperty("所选规格库存数")
	private Integer entityStock;

	//排序字段
	private Long selectSortNum;

	//所选时间
	private String selectDateStr;

	private Date selectDate;

	@ApiModelProperty("运费")
	private Long freightFee;

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Long getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(Long salesPrice) {
		this.salesPrice = salesPrice;
	}

	public String getAttrSpecValue() {
		return attrSpecValue;
	}

	public void setAttrSpecValue(String attrSpecValue) {
		this.attrSpecValue = attrSpecValue;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductImgUrl() {
		return productImgUrl;
	}

	public void setProductImgUrl(String productImgUrl) {
		this.productImgUrl = productImgUrl;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getSkuId() {
		return skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	public Integer getSelectCount() {
		return selectCount;
	}

	public void setSelectCount(Integer selectCount) {
		this.selectCount = selectCount;
	}

	public Long getSelectSortNum() {
		return selectSortNum;
	}

	public void setSelectSortNum(Long selectSortNum) {
		this.selectSortNum = selectSortNum;
	}

	public String getSelectDateStr() {
		return selectDateStr;
	}

	public void setSelectDateStr(String selectDateStr) {
		this.selectDateStr = selectDateStr;
	}

	public Date getSelectDate() {
		return selectDate;
	}

	public void setSelectDate(Date selectDate) {
		this.selectDate = selectDate;
	}

	public Integer getEntityStock() {
		return entityStock;
	}

	public void setEntityStock(Integer entityStock) {
		this.entityStock = entityStock;
	}

	public Long getFreightFee() {
		return freightFee;
	}

	public void setFreightFee(Long freightFee) {
		this.freightFee = freightFee;
	}
}
